<%--
  Created by IntelliJ IDEA.
  User: 86187
  Date: 2025/5/12
  Time: 18:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="../js/calendar.js"></script>
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/hotel/style/style.css" />
    <style type="text/css">
        div.submit{
            text-align:center;
            margin-top: 15px;
            border: solid 1px #ffffff;
        }

        form{
            margin-top: 20px;
        }

        label{
            width:70px;
            display:block;
            float:left;
            text-align: center;
            padding: 3px 0;
        }

        fieldset{
            position:relative;
            width:450px;
            margin:auto;
            margin-top:20px;
        }

        fieldset select{
            width:120px;
        }

        fieldset input{
            width:120px;
        }

        div.row{
            position: relative;
            padding:8px 0;
            border: solid 1px #ffffff;
        }

        div.column1{
            float: left;
        }

        div.column2{
            margin-left:210px;
        }
    </style>
    <title>订单查询</title>
</head>
<body>
<div id="container">
    <div id="header">
        <ul>
            <li>
                <a href="<%=request.getContextPath()%>/hotel/manager/login.jsp"
                   onclick="return confirm('确定要退出登录吗？');">退出</a>
            </li>

        </ul>
    </div>
    <div id="menu">
        <ul>
            <li><a href="<%=request.getContextPath()%>/hotel/manager/bookQuery.jsp">客房管理</a></li>
            <li><a href="<%=request.getContextPath()%>/hotel/manager/memberQuery.jsp">会员管理</a></li>
            <li><a href="<%=request.getContextPath()%>/hotel/manager/subscriptionQuery.jsp">订单管理</a></li>
        </ul>
    </div>
    <div id="content">
        <form action="<%=request.getContextPath()%>/querySubscription.member" method="post">
            <fieldset>
                <legend>订单管理-查询条件</legend>
                <div class="row">
                    <div class="column1">
                        <label for="rootType">客房类型</label>
                        <select name="rootType" id="rootType" required>
                            <option value="0">不限</option>
                            <option value="1">活着</option>
                            <option value="2">百年孤独</option>
                            <option value="3">挪威的森林</option>
                            <option value="4">平凡的世界</option>
                            <option value="5">小王子</option>
                            <option value="6">悲惨世界</option>
                            <option value="7">追风筝的人</option>
                            <option value="8">围城</option>
                            <option value="9">海边的卡夫卡</option>
                            <option value="10">论语</option>
                        </select>
                    </div>
                    <div class="column2">
                        <label for="status">状态</label>
                        <select name="status" id="status" required>
                            <option value="3">不限</option>
                            <option value="2">待确认</option>
                            <option value="1">已确认</option>
                            <option value="0">已取消</option>
                        </select>
                    </div>
                </div>

                <div class="row">
                    <div class="column1">
                        <label for="startDate">开始日期</label>
                        <input type="text" name="startDate" id="startDate" readonly="readonly" onclick="new Calendar().show(this)" />
                    </div>
                    <div class="column2">
                        <label for="endDate">结束日期</label>
                        <input type="text" name="endDate" id="endDate" readonly="readonly" onclick="new Calendar().show(this)"  />
                    </div>
                </div>
                <div class="row">
                    <div class="column1">
                        <label for="no">订单号</label>
                        <input type="text" name="no" id="no" />
                    </div>
                    <div class="column2">
                        <label for="username">会员名</label>
                        <input type="text" name="username" id="username" />
                    </div>
                </div>
            </fieldset>
            <div class="submit">
                <input type="submit" value="查询" />
            </div>
        </form>
    </div>
    <hr />
    <div id="footer">
        <p>本系统做为Java Web教学设计使用。未经允许，不得做为它用，版权所有Allan<br />联系方式：javamedia@live.cn</p>
    </div>
</div>
</body>
</html>
